<link rel="stylesheet" type="text/css" href="./public/css/userdd/userdd.css"/>
<link rel="stylesheet" type="text/css" href="./admin/public/css/common.css"/>
<table id='ddbody' border='1' cellspacing='0'>
	<tr>
		<td>订单号</td><td>商品名称</td><td>单价</td><td>数量</td><td>总价</td>
	</tr>
	<?php
		if(empty($ret)){die;}
		foreach($ret as $v){
		echo "<tr>
				<td>$v[oid]</td><td>$v[gname]</td><td>$v[price]</td><td>$v[buycnt]</td><td>$v[buyprice]</td>
			  </tr>";
		}
	?>
	<tr><th colspan='8'>
	<?php
		echo "<a href='./index.php?c=meinfo&a=showmx&nowPage=1&id=$v[oid]'> 首页 </a>";
		echo "<a href='./index.php?c=meinfo&a=showmx&nowPage=$prevPage&id=$v[oid]'> 上一页 </a>";
		echo " &nbsp; $allRows 条 $nowPage/$allPage 页 &nbsp; ";
		echo "<a href='./index.php?c=meinfo&a=showmx&nowPage=$nextPage&id=$v[oid]'> 下一页 </a>";
		echo "<a href='./index.php?c=meinfo&a=showmx&nowPage=$allPage&id=$v[oid]'> 尾页 </a>";
	?>
	</th><tr>
</table>